package com.manager.devicemanager.service.impl;

import com.manager.devicemanager.entity.Component1;
import com.manager.devicemanager.mapper.Component1Mapper;
import com.manager.devicemanager.service.IComponent1Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.manager.devicemanager.vo.ComponentStatusRequestVO;
import org.springframework.stereotype.Service;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
@Service
public class Component1ServiceImpl extends ServiceImpl<Component1Mapper, Component1> implements IComponent1Service {




    @Override
    public long countdynamicData(String dataSourceName,String tableName) {

        return baseMapper.countdynamicData(tableName);


    }

    @Override
    public List<Component1> getdynamicDataLimit48(String dataSourceName,String tableName) {
        return baseMapper.getdynamicDataLimit48(tableName);
    }

    @Override
    public List<Component1> getOneComponentLine(String dataSourceName, String tableName, ComponentStatusRequestVO componentStatusRequestVO) {
        return baseMapper.getOneComponentLine(tableName,componentStatusRequestVO);
    }
}
